<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/ServiceInfrastructure.Models.SecurityModels" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ServiceInfrastructure.Models.SecurityModels" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="https://localhost/SecurityService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/Interfaces.Enums" />
  <xs:import schemaLocation="https://localhost/SecurityService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="RegisterRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Interfaces.Enums" minOccurs="0" name="Roles" nillable="true" type="q1:ArrayOfRoleType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RegisterRequest" nillable="true" type="tns:RegisterRequest" />
  <xs:complexType name="RoleOperationRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="UserId" type="ser:guid" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Interfaces.Enums" minOccurs="0" name="RoleType" type="q2:RoleType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RoleOperationRequest" nillable="true" type="tns:RoleOperationRequest" />
  <xs:complexType name="DeleteUserRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="UserId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DeleteUserRequest" nillable="true" type="tns:DeleteUserRequest" />
  <xs:complexType name="ChangePasswordRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OldPassword" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NewPassword" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConfirmPassword" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ChangePasswordRequest" nillable="true" type="tns:ChangePasswordRequest" />
</xs:schema>